package com.xidian.zhiancloud.model.exam;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 试卷题目对象 t_exam_peper_question
 * 
 * @author zhouweitao
 * @date 2021-03-05
 */
public class ExamQuestionAnswer 
{

    /** $column.columnComment */
    private Long id;

    /** 试卷id */
    private Long peperId;

    /** 用户id */
    private Long userId;

    /** 题目id */
    private Long questionsId;
    
    private String answer;

    /** 排序 */
    private Long sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPeperId(Long peperId) 
    {
        this.peperId = peperId;
    }

    public Long getPeperId() 
    {
        return peperId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setQuestionsId(Long questionsId) 
    {
        this.questionsId = questionsId;
    }

    public Long getQuestionsId() 
    {
        return questionsId;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("peperId", getPeperId())
            .append("userId", getUserId())
            .append("questionsId", getQuestionsId())
            .append("sort", getSort())
            .toString();
    }
}
